<?php

namespace app\controller;

use app\Wechat;
use think\response\Json;

class Weixin
{
    public function jssdk(): Json
    {
        $data = new Wechat("wxefde22e2c4ec1491", "e92856075e326e95b71ca179d6ae9895");
        $signPackage = $data->getSignPackage();
        return json($signPackage);
    }
}
